package com.xiaoq.shop.entity;

import com.xiaoq.MongoEntity;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Indexed;

/**
 * Created by chenjh on 2018/1/10.
 */
@Entity(value = "wxpay_config" ,noClassnameStored = true)
public class WXPayConfigEntity extends MongoEntity {

    /** shopId */
    @Indexed
    private String shopId;

    /** 微信 应用 APP ID */
    private String appId;

    /** 微信 商户号 */
    private String mchId;

    /** 微信支付 API KEY 32 位 */
    private String payKey;

    /** 微信支付 p12 证书路径 */
    private String certPath;

    /** 微信支付 p12 证书密码(默认为商户号) */
    private String certPassword;

    /** 删除标识 见ConstantUtil   */
    private String deleteFlag;

    /** 注释 (说明)*/
    private String note;

    /** wxPayType 见ConstantUtil (小程序\APP  支付)*/
    private String wxPayType;

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getMchId() {
		return mchId;
	}

	public void setMchId(String mchId) {
		this.mchId = mchId;
	}

	public String getPayKey() {
		return payKey;
	}

	public void setPayKey(String payKey) {
		this.payKey = payKey;
	}

	public String getCertPath() {
		return certPath;
	}

	public void setCertPath(String certPath) {
		this.certPath = certPath;
	}

	public String getCertPassword() {
		return certPassword;
	}

	public void setCertPassword(String certPassword) {
		this.certPassword = certPassword;
	}

	public String getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(String deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getWxPayType() {
		return wxPayType;
	}

	public void setWxPayType(String wxPayType) {
		this.wxPayType = wxPayType;
	}
}
